package org.itboys.basetemplate.entity;

import java.util.Date;

import org.itboys.mongodb.entity.BaseLongIdEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * 我的收藏
 */
@Entity(value = "Favorite", noClassnameStored = true)
public class Favorite extends BaseLongIdEntity {

	private static final long serialVersionUID = -1321171668307633168L;

	private Long memberId; // 会员编号
	private Date createTime;//创建时间
	private Date updateTime;//更新时间
	private Long objId; // 收藏对象Id
	// PRODUCCT("普通商品",1),HOTEL("民宿",2),BASE("基地", 3),SENIC("景点", 4),FRAM_STAY("农家乐", 5);
	private Integer type;//收藏类型（更具项目定义）
	private String name; //名字
	private String image; // 图片
	private double price; //价格
	private String source;  //货源地
	private Integer isDeleted; //状态：1-已收藏 ,0-删除|取消收藏
	private String remark; // 备注
	public Long getMemberId() {
		return memberId;
	}
	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Long getObjId() {
		return objId;
	}
	public void setObjId(Long objId) {
		this.objId = objId;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getIsDeleted() {
		return isDeleted;
	}
	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	
}
